package com.hqyj.springBoot.modules.account.service;

import com.github.pagehelper.PageInfo;
import com.hqyj.springBoot.modules.common.vo.Result;
import com.hqyj.springBoot.modules.common.vo.Search;
import com.hqyj.springBoot.modules.account.entity.User;

public interface UserService {

    Result<User> login(User user);

    Result<User> insertUser(User user);

    Result<User> updateUser(User user);

    Result<Object> deleteUserById(int userId);

    User selectUserById(int userId);

    PageInfo<User> getUserBySearch(Search search);
}
